<div class="nav">
	<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr valign="bottom">
			<td width="23%" align="left" style="padding-left:20px;">
				<a href="/">
					<img src="/images/logo.png">
				</a>
			</td>
			<{if $nickname}>
				<td align="left" style="padding-bottom:6px;">
					<{section name=i loop=$nav}>
						<a href="<{$nav[i].href}>" class="<{$nav[i].class_name}>" ><{$nav[i].name}></a>
					<{/section}>
				</td>
				<td align="right" style="padding-bottom:6px;  padding-right:20px;">
					<{section name=i loop=$is_login}>
						<{$is_login[i]}>
					<{/section}>
					<{if $not_login}>
						<div style="position:relative; display: inline-block;">
							<{section name=i loop=$not_login}>
								<{$not_login[i].img}>
							<{/section}>
							<div id="not_login_tips" style="position:absolute; text-align: left; top:22px;">
								<div style="padding-left:3px; margin-bottom: -1px;"><img src="/images/arrow_tips_up.png"></div>
								<div style="border:1px solid #CCA; background-color: #FFC; padding:10px 30px; white-space: nowrap;">
									绑定账号的登录授权已过期
									<{section name=i loop=$not_login}>
										<div style="margin-top:10px;"><{$not_login[i].link}></div>
									<{/section}>
									<div style="padding-top:10px; text-align: right;">
										<a onclick="$('#not_login_tips').hide();">关闭</a>
									</div>
								</div>
							</div>
						</div>
					<{/if}>
					<span>
						<a class="nk" href="/u.php?u=<{$meid}>" style=" vertical-align: middle;">【<{$nickname}>】</a> 
					</span>
					<a class="ud" onclick="UM_LAYER.open('index/show_setting', '', this);" style=" vertical-align: middle;">账号设置</a> &nbsp;|&nbsp;
					<a class="ud" onclick="UM_LAYER.open('extension/default');" style=" vertical-align: middle;">网文摘手</a> &nbsp;|&nbsp;
					<a class="ud" href="/?logout=1" style=" vertical-align: middle;">退出</a>
				</td>
			<{else}>
				<td width="50%" align="left" style="padding-bottom:6px;">
					<span class="na">值得你保存下来的，就推荐给朋友吧</span>
				</td>
				<td width="27%" align="left" style="padding-bottom:6px;">
					&nbsp;
				</td>
			<{/if}>
		</tr>
	</table>
</div>